package org.llc.user.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 邀请注册记录
 *
 * @author llc
 * @date 2021-04-18
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SpreadRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 用户id
     */
    private Long accountId;

    /**
     * 推荐码
     */
    private String spreadCode;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

}
